package com.qdrtme.landemo;

import android.content.Context;

import com.qdrtme.landemo.webapi.WebAPI;


/**
 * @Created by taylor on 11/9/17.
 * @description 蓝鲸 接口测试
 */

public abstract class BaseApi extends WebAPI {

    public static String HOST = "http://192.168.1.44:8080/qdrat/";    // 刘俊伟

    //    public static String HOST = "http://192.168.1.47:8080/qdrat/";          // 郭晶
    public BaseApi(Context c) {
        super(c);
    }


    /**
     * 蓝鲸 常量
     */
    // site id
    public static String LJ_SITE_ID = "73";
    //tenantid
    public static String LJ_TENANT_ID = "lanjing";
    public static String LJ_PLATFORM_STR = "app_jog";
    public static String LJ_MOBILE_INFO = "mobile_temp";

    // HOST-会员系统
    public static String LJ_HOST = "http://lanjing.member.qtvnews.com:81/memberi/api";
    // HOST-CMS系统
//    public static String LJ_HOST = "http://cms.qtvnews.com:8080/cms-api/api";

    // 获取短信验证码
    public static String GET_SMS_CODE = LJ_HOST + "/SMS/send";

    // 注册
    public static String REGISTER = LJ_HOST + "/user/register";

    // 登录
    public static String LOGIN = LJ_HOST + "/user/login";

    // 重设密码（手机短信找回密码）
    public static String RESET_PASSWORD = LJ_HOST + "/user/resetPassword";

    // 获取用户信息
    public static String GET_USER_DETAIL = LJ_HOST + "/user/detail";


    /**
     * 新CMS Host
     */
//    public static String LJ_CMS_NEW_HOST = "http://192.168.0.174:8090";  // 龙志ip
    public static String LJ_CMS_NEW_HOST = "http://192.168.0.129:8090";  // 俊伟ip

    // 以下为柳龙志的接口

    // 新增爆料
    public static String ADD_TIPOFF = LJ_CMS_NEW_HOST + "/mobile/appComment/addComment";

    // 上传文件Stream
    public static String UPLOAD_FILE_URL = LJ_CMS_NEW_HOST + "/mobile/appComment/uploadMedia";

    // 获取全部爆料列表
    public static String GET_TIPOFF_LIST = LJ_CMS_NEW_HOST + "/mobile/appComment/getAllTipOff";

    // 获取我的爆料列表
    public static String GET_MY_TIPOFF_LIST = LJ_CMS_NEW_HOST + "/mobile/appComment/getMyTipOff";

    // 评论爆料
    public static String ADD_COMMENT_TIPOFF_LIST = LJ_CMS_NEW_HOST + "/mobile/appComment/addCommentReplay";

    // 以下为刘俊伟的接口

    // 活动详情接口 voteActivityId
    public static String VOTE_DETAIL = LJ_CMS_NEW_HOST + "/mobile/appVoteActivity/vote/detail";

    // 获取参赛者列表
    public static String VOTE_CONTESTAN_LIST = LJ_CMS_NEW_HOST + "/mobile/appVoteActivity/contestan/list";

    // 投票
    public static String ADD_VOTE = LJ_CMS_NEW_HOST + "/mobile/appVoteActivity/vote/add";

    // 投票（参赛者）详情接口
    public static String VOTE_PLAYER_DETAIL = LJ_CMS_NEW_HOST + "/mobile/appVoteActivity/contestan/detail";

    // 报名接口
    public static String ADD_CONTESTAN = LJ_CMS_NEW_HOST + "/mobile/appVoteActivity/contestan/add";

}
